package com.shimao.celnet.payment.model.response;

/**
 * 统一错误码异常
 * Created by ensure.xu on 2017/11/24.
 */
public class ErrorInfoException  extends Exception {
    private ErrorInfoInterface errorInfo;

    public ErrorInfoException (ErrorInfoInterface errorInfo) {
        this.errorInfo = errorInfo;
    }

    public ErrorInfoInterface getErrorInfo() {
        return errorInfo;
    }

    public void setErrorInfo(ErrorInfoInterface errorInfo) {
        this.errorInfo = errorInfo;
    }
}
